<?php

namespace App\Models;

use App\Models\Traits\QueryTrait;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Profile
 *
 * @property int $id
 * @property int $user_id
 * @property string|null $name
 * @property string|null $nick_name
 * @property string|null $avatar
 * @property int|null $gender
 * @property string|null $desc
 * @property mixed|null $info
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile active()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile name($name)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile ordered()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile recent()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile type($type)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereAvatar($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereGender($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereInfo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereNickName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Profile whereUserId($value)
 * @mixin \Eloquent
 */
class Profile extends Model
{
    use QueryTrait;

    protected $fillable = [
        'user_id', 'name', 'nick_name', 'avatar', 'gender', 'desc', 'info',
    ];
}
